body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    padding: 10px;
    overflow-y: auto;
    padding-bottom: 60px;
}

.profile {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #555;
}

.profile-picture {
    width: 50px;
    height: 50px;
    background-color: #555;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.membership-info h2 {
    color: #00ff00;
    font-size: 1.5em;
}

.membership-info, .benefits, .sections, .other-links {
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #555;
    margin-bottom: 20px;
}

button {
    background-color: #00ff00;
    color: #000;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
}

.benefit-list, .section-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    box-sizing: border-box;
}

.benefit-item, .section-item {
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column; /* 保持图片和文字在列布局 */
    align-items: center;
    justify-content: center; /* 保证内容居中 */
    font-size: 0.6em;
}


.benefit-icon, .section-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 5px;
}

.action-link {
    text-decoration: none;
    color: #fff; /* 保持文字颜色为白色 */
    font-size: inherit;
    cursor: pointer;
}

.section-link {
    text-decoration: none;
    color: #fff;
    font-size: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* 确保文字在小屏幕上居中 */
}

.link-list {
    display: flex;
    flex-direction: column;
    font-size: 0.9em;
}

.link-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-align: left;
}

.link-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.bottom-nav {
    width: 100%;
    background-color: #444;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #555;
}

.bottom-nav a {
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.bottom-nav a:hover {
    background-color: #555;
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.upload-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
}
#profile-picture {
    position: relative;
    z-index: 10; /* 确保头像可点击 */
}